/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.jmooc.dao;

import com.jmooc.entity.Course;
import com.jmooc.entity.Question;
import com.jmooc.entity.ReadCourse;
import com.jmooc.entity.User;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author Group
 */
@Local
public interface ReadCourseDao {

    List<ReadCourse> getAllByUser(User user);

    void create(ReadCourse readCourse);
    
    ReadCourse getByUserAndCourse(User user, Course course);
}
